﻿using System.Web.Mvc;

namespace Web.Areas.Manager
{
    public class ManagerAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Manager";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute("Manager", "Manager.aspx/{controller}/{action}/{id}", new { controller = "Index", action = "Index", id = UrlParameter.Optional }, new string[] { "Web.Areas.Manager.Controllers" }
            );

        }
    }
}
